/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { RListString } from '../models/RListString';

import type { CancelablePromise } from '../core/CancelablePromise';
import { OpenAPI } from '../core/OpenAPI';
import { request as __request } from '../core/request';

export class OnlineService {

    /**
     * @returns RListString OK
     * @throws ApiError
     */
    public static getAllOnlineUsers(): CancelablePromise<RListString> {
        return __request(OpenAPI, {
            method: 'GET',
            url: '/api/1.0/online/getAllOnlineUsers',
        });
    }

    /**
     * @returns RListString OK
     * @throws ApiError
     */
    public static getAllOnlineUsers3(): CancelablePromise<RListString> {
        return __request(OpenAPI, {
            method: 'PUT',
            url: '/api/1.0/online/getAllOnlineUsers',
        });
    }

    /**
     * @returns RListString OK
     * @throws ApiError
     */
    public static getAllOnlineUsers2(): CancelablePromise<RListString> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/api/1.0/online/getAllOnlineUsers',
        });
    }

    /**
     * @returns RListString OK
     * @throws ApiError
     */
    public static getAllOnlineUsers5(): CancelablePromise<RListString> {
        return __request(OpenAPI, {
            method: 'DELETE',
            url: '/api/1.0/online/getAllOnlineUsers',
        });
    }

    /**
     * @returns RListString OK
     * @throws ApiError
     */
    public static getAllOnlineUsers6(): CancelablePromise<RListString> {
        return __request(OpenAPI, {
            method: 'OPTIONS',
            url: '/api/1.0/online/getAllOnlineUsers',
        });
    }

    /**
     * @returns RListString OK
     * @throws ApiError
     */
    public static getAllOnlineUsers1(): CancelablePromise<RListString> {
        return __request(OpenAPI, {
            method: 'HEAD',
            url: '/api/1.0/online/getAllOnlineUsers',
        });
    }

    /**
     * @returns RListString OK
     * @throws ApiError
     */
    public static getAllOnlineUsers4(): CancelablePromise<RListString> {
        return __request(OpenAPI, {
            method: 'PATCH',
            url: '/api/1.0/online/getAllOnlineUsers',
        });
    }

}
